/*
 * HttpPost.h
 *
 */

#ifndef HTTPPOST_H_
#define HTTPPOST_H_

#include "HttpRequest.h"

class HttpPost : public HttpRequest {
	private:
		HttpBody* body;
	public:
		HttpPost(const std::string& uri);
		virtual ~HttpPost();

		bool hasBody() const;
		HttpBody& getBody() const;
		void setBody(HttpBody* body);

		const std::string& getMethod() const;
};

#endif  /* HTTPPOST_H_ */
